package com.kakaxi.mybilibili.bean;

import android.graphics.drawable.Drawable;

import java.util.List;

/**
 * 分区主页面列表项信息类
 * Created by kakaxi on 16/10/27.
 */

public class CategoryHomeItemBean {

    /** 编号 **/
    private int tid;

    /** 查询名称 **/
    private String searchname;

    /** 名称 **/
    private String captionname;

    /** 类型名称 **/
    private String typename;

    /** 图标 **/
    private Drawable cover;

    /** 子解表 **/
    private List<CategoryHomeItemBean> child;

    public CategoryHomeItemBean() {
    }

    public CategoryHomeItemBean(int tid, String typename, Drawable cover) {
        this.tid = tid;
        this.typename = typename;
        this.cover = cover;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getSearchname() {
        return searchname;
    }

    public void setSearchname(String searchname) {
        this.searchname = searchname;
    }

    public String getCaptionname() {
        return captionname;
    }

    public void setCaptionname(String captionname) {
        this.captionname = captionname;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Drawable getCover() {
        return cover;
    }

    public void setCover(Drawable cover) {
        this.cover = cover;
    }

    public List<CategoryHomeItemBean> getChild() {
        return child;
    }

    public void setChild(List<CategoryHomeItemBean> child) {
        this.child = child;
    }

    @Override
    public String toString() {
        return "CategoryHomeItemBean{" +
                "tid=" + tid +
                ", searchname='" + searchname + '\'' +
                ", captionname='" + captionname + '\'' +
                ", typename='" + typename + '\'' +
                ", cover=" + cover +
                ", child=" + child +
                '}';
    }
}
